From 8537fbaeade8b85d8751b2702b0b3e76dabaeff6 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Tue, 5 Dec 2006 17:01:34 +0000 Subject: [PATCH] [LINUX] The crash note resource should be nested inside the hypervisor resource. This was exposed by 12709:98413fa7826c which corrected the length of the hypervisor resource. Signed-off-by: Ian Campbell --- linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c b/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c index 88a2423340..1f4a828e55 100644 --- a/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c +++ b/linux-2.6-xen-sparse/drivers/xen/core/machine_kexec.c @@ -106,7 +106,7 @@ void xen_machine_kexec_register_resources(struct resource *res) request_resource(res, &xen_hypervisor_res); for (k = 0; k < xen_max_nr_phys_cpus; k++) - request_resource(res, xen_phys_cpus + k); + request_resource(&xen_hypervisor_res, xen_phys_cpus + k); } -- 2.30.2